//这里是用户相关的API接口
import request from "@/utils/request";

// 查询所有用户
export const queryAllApi = (name,username,status) => request.get(`user/query?name=${name}&username=${username}&status=${status}`); 
// export const queryAllApi = () => {return request.get('/user')}; // 使用大括号的写法

// 登录接口
export const loginApi= (logininfo) => request.post('/user/login', logininfo);

